//
//  BCAPIBaseResponse.m
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/11/30.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import "BCAPIBaseResponse.h"

@implementation BCAPIBaseResponse

+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper {
    return @{@"timestamp":@"_timestamp"};
}


- (void)setTimestamp:(NSTimeInterval)timestamp {
    _timestamp = timestamp;
    //纪录下当前服务器时间戳
    if (timestamp>0) {
        [BCServiceTimestampManager shared].timestamp = timestamp;
    }
}

@end
